@import "style/theme.less";

.miniApp-item {
  border: 1px solid #eaeaea;
  border-radius: 4px;
  padding: 0px 12px;
  &:hover {
    border-color: @primary-color;
    cursor: pointer;
    .miniApp-item-action {
      color: @primary-color;
    }
  }

  .miniApp-item-header {
    color: @text-color;
    font-size: 14px;
    padding: 6px 50px 6px 0px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    .miniApp-icon {
      width: 16px;
      vertical-align: -3px;
      margin-right: 4px;
    }
    .miniApp-item-actions {
      position: absolute;
      right: 0px;
      top: 6px;
      font-size: 16px;
      .miniApp-item-action {
        cursor: pointer;
      }

      .miniApp-item-action:nth-last-of-type(1) {
        margin-left: 8px;
      }
    }
  }

  .miniApp-item-body {
    .default-cover {
      font-size: 120px;
    }

    margin-bottom: 10px;
  }

  .miniApp-item-footer {
    border-top: 1px solid #eaeaea;
    padding: 6px 0px;

    .miniApp-symbol {
      padding-left: 16px;
      position: relative;
      color: @text-color;
      .icon {
        width: 14px;
        height: 14px;
        position: absolute;
        left: 0px;
        top: 50%;
        transform: translateY(-50%);
      }
    }
   .time-text {
     color: @text-color-secondary;
   }
    .user-icon {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      margin-left: 8px;
      margin-top: -0.25em;
    }
  }
}